var zukejiaojiedanList=({
	
	 loadTransferList : function(){
		//var index = bootstrap.loading("加载中...");
		$$.showPreloader("加载中");
		$.ajax({
			url : "../houseTransferList/getList.do",
			data : {
				userIdFlag: (userId?"":"1"),
				userId: userId||"",
				transferType: '',	//交接类型   0:租客交接清单 1:业主交接清单
//				listType: listType,
				pageSize: 50,
				pageNumber: 1
			},
			type : "GET",
			dataType : 'json',
			cache : false,
			success : function(ret){
				//bootstrap.close(index);
				$$.hidePreloader();
				var html = '';
				if(ret.rows && ret.rows.length>0){
					$.each(ret.rows,function(i,n){
						html += '<li class="item-content item-link" onclick="zukejiaojiedanList.toLink(\'./zukeJiaojiedanDetail.html?transferType='+n.transferType
																	+'&listType='+n.listType+'&houseId='+n.houseId+'&transferId='+n.transferId+'\')">'+
							        '<div class="item-media"><i class="icon icon-f7"></i></div>'+
							        '<div class="item-inner">'+
							          '<div class="item-title">'+n.listName+'</div>'+
							        '</div>'+
							     '</li>';
					});
				}
				$("#info_list").append( html||'<li  style=\'text-align:center;background: #f8f8f8;\'><img src=\"../images/nondata.png\"></li><li style=\'text-align:center;background: #f8f8f8;\'>暂无数据</li>' )
			},
			error: function(){
				//bootstrap.close(index);
				//$("#info_list").html( html||'<li class="item-content item-link">查询出错</li>' )

				$$.hidePreloader();
				$$.toast("加载出错");
			}
		});
	},
	 toLink : function(txt,tagrt) {
		document.location.href = "./" + txt;
	}

})